package com.mes.cloud.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 数据同步信息
 * 
 * @author wxm
 * @email xiaomin.wu1@pactera.com
 * @version 2019-10-26 11:28:13
 */
@Data
@Table(name = "sys_syn_info")
public class SysSynInfo implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 主键
    */
	@Id
	private String id;
   /**
    * 参数
    */
	@Column(name = "param")
	private String param;
   /**
    * 同步状态
    */
	@Column(name = "status")
	private String status;
   /**
    * 类型（组织同步-员工同步等同步使用不同类型）
    */
	@Column(name = "type")
	private String type;
   /**
    * 同步总数
    */
	@Column(name = "count_accept")
	private Integer countAccept;

	/**
	 * 运行时长
	 */
	@Column(name = "run_time")
	private Integer runTime;
   /**
    * 同步成功数
    */
	@Column(name = "count_success")
	private Integer countSuccess;
   /**
    * 同步失败数
    */
	@Column(name = "count_fail")
	private Integer countFail;
   /**
    * 同步日志
    */
	@Column(name = "log")
	private String log;
   /**
    * 同步开始时间
    */
	@Column(name = "start_time")
	private Date startTime;
   /**
    * 同步结束时间
    */
	@Column(name = "end_time")
	private Date endTime;
   /**
    * 状态(0：禁用，1：启用)
    */
	@Column(name = "enable_flag")
	private String enableFlag;
   /**
    * 创建人
    */
	@Column(name = "create_by")
	private String createBy;
   /**
    * 创建时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 修改人
    */
	@Column(name = "update_by")
	private String updateBy;
   /**
    * 修改时间
    */
	@Column(name = "update_time")
	private Date updateTime;
   /**
    * 删除标记，1：删除，0：未删除
    */
	@Column(name = "del_flag")
	private String delFlag;
   /**
    * 更新日期
    */
	@Column(name = "update_date_str")
	private String updateDateStr;
   /**
    * 版本
    */
	@Column(name = "version")
	private Integer version;

	@Column(name = "create_by_no")
	private String createByNo;

	@Column(name = "update_by_no")
	private String updateByNo;
}
